// import request from "@/plugins/request/getSignRequest";
import { httppost } from "@/plugins/request/getSignRequest"

 var pre = "/api/rvic/ic-sharedstation";

// if (process.env.NODE_ENV !== "development") {
//     pre = '' + pre;
// }

// 根据用户标识id查询
// export function selectUserPhone(data) {
//   return request({
//     url: `/shop/user/selectUserPhone`,
//     method: 'post',
//     data: data
//   })
// }
export function selectUserPhone(data) {
  return httppost({
    URL: "/shop/user/selectUserPhone",
    JSONStr: data,
    sign: "WuHanBenSenCoLid"
  })
}
//新用户注册绑定,修改手机号
export function addUserMobile02(data) {
  return httppost({
    URL: `/shop/user/addUserMobile02`,
    JSONStr: data,
    sign: "WuHanBenSenCoLid"
  })
}
//查询驿站底部站点
export function getSiteInfoSelectedList(data) {
  return httppost({
    URL: `/shop/site/getSiteInfoSelectedList`,
    JSONStr: data,
    sign: "WuHanBenSenCoLid"
  })
}
//模糊查询所有驿站，经纬度返回距离
export function getPostAllList(data) {
  return httppost({
    URL: `/shop/user/getPostAllList`,
    JSONStr: data,
    sign: "WuHanBenSenCoLid"
  })
}
//用户信息唯一id查询（手机号不脱敏）
export function selectUser(data) {
  return httppost({
    URL: `/shop/user/selectUser`,
    JSONStr: data,
    sign: "WuHanBenSenCoLid"
  })
}
//绑定驿站
export function updatePost(data) {
  return httppost({
    URL: `/shop/user/updatePost`,
    JSONStr: data,
    sign: "WuHanBenSenCoLid"
  })
}
//首页轮播
export function getImageList(data) {
  return httppost({
    URL:`/shop/detail/getImageList`,
    JSONStr: data,
    sign: "WuHanBenSenCoLid"
  })
}
export function getSiteInfoList02(data) {
  return httppost({
    URL:`/shop/site/getSiteInfoList02`,
    JSONStr: data,
    sign: "WuHanBenSenCoLid"
  })
}
//查询首页文创和健康站点
export function getSiteInfowcjkList(data) {
  return httppost({
    URL: `/shop/site/getSiteInfowcjkList`,
    JSONStr: data,
    sign: "WuHanBenSenCoLid"
  })
}
//获取新闻列表
export function getNewNotice2(data) {
  return httppost({
    URL: `/shop/detail/getNewNotice2`,
    JSONStr: data,
    sign: "WuHanBenSenCoLid"
  })
}
//查询驿站站点列表更多分类展示
export function getSiteInfoAllList(data) {
  return httppost({
    URL: "/shop/site/getSiteInfoAllList",
    JSONStr: data,
    sign: "WuHanBenSenCoLid"
  })
}